package com.gitee.neuray.security.par.demo.controller;

import com.gitee.neuray.security.par.demo.biz.DemoBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: zhhongyu
 * @description:
 * @since: Create in 15:41 2020/8/25
 */
@RestController
public class DemoController {
    @Autowired
    private DemoBiz demoBiz;
    @GetMapping("test")
    @ResponseBody
    public String test() throws Exception {
        demoBiz.test();
        return "success";
    }
}
